﻿using System;
using System.IO;

namespace Character
{
	// Token: 0x020001AE RID: 430
	public class AccessoryParameter : ParameterBase
	{
		// Token: 0x06000B1C RID: 2844 RVA: 0x00040A50 File Offset: 0x0003EC50
		public AccessoryParameter(SEX sex) : base(sex)
		{
			for (int i = 0; i < this.slot.Length; i++)
			{
				this.slot[i] = new AccessoryCustom(sex);
			}
		}

		// Token: 0x06000B1D RID: 2845 RVA: 0x00040A98 File Offset: 0x0003EC98
		public AccessoryParameter(AccessoryParameter copy) : base(copy.sex)
		{
			for (int i = 0; i < copy.slot.Length; i++)
			{
				this.slot[i] = new AccessoryCustom(copy.slot[i]);
			}
		}

		// Token: 0x06000B1E RID: 2846 RVA: 0x00040AEC File Offset: 0x0003ECEC
		public void Init()
		{
			for (int i = 0; i < this.slot.Length; i++)
			{
				this.slot[i].Init();
			}
		}

		// Token: 0x06000B1F RID: 2847 RVA: 0x00040B20 File Offset: 0x0003ED20
		public void Save(BinaryWriter writer, SEX sex)
		{
			for (int i = 0; i < this.slot.Length; i++)
			{
				this.slot[i].Save(writer, sex);
			}
		}

		// Token: 0x06000B20 RID: 2848 RVA: 0x00040B58 File Offset: 0x0003ED58
		public void Load(BinaryReader reader, SEX sex, CUSTOM_DATA_VERSION version)
		{
			for (int i = 0; i < this.slot.Length; i++)
			{
				this.slot[i].Load(reader, sex, version);
			}
		}

		// Token: 0x06000B21 RID: 2849 RVA: 0x00040B90 File Offset: 0x0003ED90
		public void Copy(AccessoryParameter source)
		{
			this.sex = source.sex;
			for (int i = 0; i < this.slot.Length; i++)
			{
				this.slot[i].Copy(source.slot[i]);
			}
		}

		// Token: 0x06000B22 RID: 2850 RVA: 0x00040BD8 File Offset: 0x0003EDD8
		public void CheckHasData()
		{
			for (int i = 0; i < this.slot.Length; i++)
			{
				this.slot[i].CheckHasData();
			}
		}

		// Token: 0x04000B8C RID: 2956
		public AccessoryCustom[] slot = new AccessoryCustom[10];
	}
}
